Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change csc/csr_matrix to array #121

Merged
merged 4 commits into from
Oct 18, 2023
Merged

Conversation

torressa
Copy link
Member

@torressa torressa commented Sep 28, 2023

After this has been fixed: Resolved in Gurobi v10.0.3: Compatibility issues with numpy 1.25 and scipy 1.11 should we change these occurences back to _array?

@torressa torressa changed the title Change csc/csc_matrix to array Change csc/csr_matrix to array Sep 29, 2023
@simonbowly
Copy link
Member

@torressa does this mean we also need to update the required gurobipy version to 10.0.3 to ensure users get the fixes needed to work with scipy? If so can you please update that in pyproject.toml?

@simonbowly simonbowly added this to the 1.2.0 release milestone Oct 16, 2023
@simonbowly
Copy link
Member

@torressa I updated a few coo_matrix cases as well. Also, when updating things like this I think we should generally not remove old tests. Users might still pass a csr_matrix even if we no longer use it internally. So I duplicated the csr_array test here to cover both cases.

@simonbowly simonbowly merged commit 815bae7 into Gurobi:main Oct 18, 2023
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants